package com.hhp.hhptt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("imagesxigongshang")
public class ImagesEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    private String title;
    private String image;
    private String author;
    @TableField("`describe`")
    private String describe;
    @TableField("richText")
    private String richText;
    @TableField("time")
    private Date time;
    private int browse;
    @TableField("`like`")
    private int like;
    @TableField("`isLike`")
    private int isLike;
}
